<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>帮助中心</title>
		<link rel="stylesheet" href="__AGENT__/css/iconfont.css" />
		<link rel="stylesheet" href="__AGENT__/css/css.css" />
	</head>

	<body>
		{include file="public/header" /}
		<div class="index_conbox">
			<div class="index_content clearfix">
				{include file="public/lefter" /}
				<div class="right">
					<div class="rigtop">
						<span class="title">帮助中心</span>
					</div>
					<div class="indrig_con">
						<div class="huizcx_top">
							<form  id="form-admin-add"  method="get" action="{:url('helps/helps')}">
							<div class="chax_rowbox2 clearfix">
								<div class="shxx_row clearfix">
									<div class="left">用户角色：</div>
									<div class="right clearfix">
										<div id="htselect">
											<select  class="select" name="pid" id="pid">
												<option value="1,2,3,4,5,6">全部</option>
												<option value="1">用户手机端</option>
												<option value="2">商家电脑端</option>
												<option value="3">收银员电脑端</option>
												<option value="4">收银员APP端</option>
												<option value="5">OEM电脑端</option>
												<option value="6">省市代电脑端</option>
											</select>
										</div>
									</div>
								</div>
								<button type="submit" class="htcxbtn" id="helpscx">查询</button>
							</div>
							</form>
						</div>
						<div class="help_lisbox">
							<table class="zizh_table1">
								<thead>
									<tr>
										<th class="w_60">标题</th>
										<th class="w_10">类别</th>
										<th class="w_20">发布时间</th>
										<th class="w_10">操作</th>
									</tr>
								</thead>
								<tbody id="tbody">
									{volist name="list" id="vo" empty="$empty"}
									<tr>
										<td>{$vo.title}</td>
										<td>
											{switch name="$vo.pid"}
											   {case value="1"}用户手机端{/case}
											    {case value="2"}商家电脑端{/case}
											    {case value="3"}收银员电脑端{/case}
											    {case value="4"}收银员APP端{/case}
											    {case value="5"}OEM电脑端{/case}
											    {default /}省市代电脑端
											{/switch}
										</td>
										<td>{$vo.add_time}</td>
										<td><a href="{:url('helps/helps_show',['id'=>$vo.id])}">查看</a></td>
									</tr>
									{/volist}
								</tbody>
							</table>
							<div class="fenye" style="display: block;">
								{$list->render()}
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		{include file="public/footer" /}
	</body>

</html>